knitr::opts_chunk$set(echo = TRUE)
We can tune the bandwidth in the Outer Product of Canonical Gradients (OPCG) using the "supervised k-means"-like approach.
Below is an interactive figure illustrating the methods on some synthetic data. We generate the data from five clusters that are labeled into 3 groups. By moving the slider, you will notice that the minimum of the criterion functions corresponds with very good separation of the labels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.